<!--
- Author:  LiShibin.
- Date:    2017/7/17 0017.
- File:    detail.
-->
<template>
  <div style="margin-bottom: 0;" class="Web_Box">
    <div class="Topmenu">
      <i @click="$utils.back" class="iconfont icon-youjiantou"></i>
      <h1>通知详情</h1>
      <span></span>
    </div>
    <div style="margin-top: 50px;" class="newdetail p30 bg_fff">
      <h4 style="text-align: center;">{{noticeInfo.txt}}</h4>
      <div style="text-indent: 2em;" class="cont">{{noticeInfo.content}}</div>
      <!--<back-nav></back-nav>-->
    </div>
  </div>

</template>

<script>
  export default{
    data() {
      return {
        id: this.$route.params.id,
        noticeInfo: {}
      }
    },
    created() {
      this.getNoticeDetail(this.id)
    },
    methods: {
      getNoticeDetail(id) {
        this.$request.getNoticeDetail(id).then(data => {
          this.noticeInfo = data
        })
      }
    }
  }
</script>

<style>

</style>
